From 3098c31049e17dfdcdf451e843f6c4bdcf5b2fa1 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sat, 5 Aug 2023 21:16:45 +0100 Subject: Moves to root folder --- src/pages/[locale]/staticPaths.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/pages/[locale]/staticPaths.ts (limited to 'src/pages/[locale]/staticPaths.ts') diff --git a/src/pages/[locale]/staticPaths.ts b/src/pages/[locale]/staticPaths.ts new file mode 100644 index 0000000..266ad2c --- /dev/null +++ b/src/pages/[locale]/staticPaths.ts @@ -0,0 +1,10 @@ +import type Locale from '../../types/Locale'; + +// Defines what values to insert into the [locale] URL path parameter +// when generating a static site +const staticPaths: { params: { locale: Locale} }[] = [ + { params: { locale: 'sco' } }, + { params: { locale: 'en-GB' } }, +] + +export default staticPaths; \ No newline at end of file -- cgit v1.2.3